<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>

<h2>공지사항 글 보기</h2>

<table cellspacing="0" cellpadding="5" style="border:1px solid #dddddd;width:100%;">
    <tr>
        <td width="80%">등록일 : &nbsp; ${noticeClass.regdate }</td>
        <td width="20%">조회수 : &nbsp; ${noticeClass.count } </td>
    </tr>
    <tr>
        <td>제목 : &nbsp; ${noticeClass.subject }</td>
        <td>글쓴이 : 관리자</td>
    </tr>
</table>
<br/>

내용<br/><br/>
<textarea rows="30" cols="100" style="resize:none;width:100%;" readonly>${noticeClass.content }</textarea>

<table width="100%">
    <tr>
        <td>
            <input type="button" value="목록보기" style="width:100px;height:30px;"
                onclick="location.href='./noticeList.ga'"
            />
        </td>
        <td align="right">
            <input type="button" value="삭제하기" style="width:100px;height:30px;"
                onclick="window.open('./deleteNoticePopup.ga?notice_no=${noticeClass.notice_no }', 'notice', 'scrollbars=yes,status=no,resizable=no,width=440,height=200')"
            />
            <input type="button" value="수정하기" style="width:100px;height:30px;"
                onclick="location.href='./modifyNoticeForm.ga?notice_no=${noticeClass.notice_no }'"
            />
        </td>
    </tr>
</table>

</body>
</html>